//int main()
//{
//	int n = 1;
//	while (1)
//	{
//		void* p1 = new char[1024 * 1024];
//		cout << p1 << " -> " << n << endl;
//		n++;
//	}
//	try {
//		
//	}
//	catch (const exception& e)
//	{
//		cout << e.what() << endl;
//	}
//
//
//
//	return 0;
//}
class worse
{
	/*worse()
	{
		cout << "wroes"<<endl;
	}*/
private:
	int _b1 = 1;
	int _b2 = 2;
};

int main()
{
	series aa1 = 1;
	const series& aa2 = 1;
	//series* subsequent = new  series(1);
	//delete subsequent;

	//int* p1 = new int;
	//free(p1);

	//int* p1 = new  int[10];
	//delete p1;

	//worse* p1 = new worse[10];
	//delete p1;


	//series* p2 = new series[10];
	//delete[] p2;
		//series* p2 = new series[2];
	//delete p2;
	return 0;
}